<?php

/**
 * Category filter form.
 *
 * @package    eel
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class CategoryFormFilter extends BaseCategoryFormFilter
{
  public function configure()
  {
  	unset($this['parent_id']);
//	$this->widgetSchema['parent_id'] = new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Category'), 'add_empty' => true, 'method' => "__toString", 'query' => CategoryTable::getCategoryListQueryOrderByName()));
//	$this->validatorSchema['parent_id'] = new sfValidatorDoctrineChoice(array('model' => $this->getRelatedModelName('Category'), 'required' => false));
  }
  
//    public function bind(array $taintedValues = null, array $taintedFiles = null) {
//        $taintedValues['parent_id'] = array('text' => $taintedValues['parent_id']);
//        parent::bind($taintedValues, $taintedFiles);
//    }
}
